package com.yancy.dao;

import com.yancy.entity.User;

import java.util.List;

public interface UserDao {
    public User userLogin(String userName);

    public List<User> getUser();

    public boolean deleteuser(String id);

    public boolean addUser(User user);

    boolean updateUser(User user);
}
